Part Number Hot Search : 
SST39LF0 SMB39 RB496KA 56163 56163 4VHCT5 IRG4BC 4728A
Product Description
Full Text Search
 

To Download DM9000B12 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  dm9000b ethernet controller with general processor interface final 1 version: dm9000b-13-ds-f03 march 5, 2012 davicom semiconductor, inc. dm9000b ethernet controller with general processor interface data sheet final version: dm9000b-ds-f03 march 5, 2012
dm9000b ethernet controller with general processor interface final 2 version: dm9000b-13-ds-f03 march 5, 2012 content 1. general description......................................................................................................... .. 6 2. block diagram............................................................................................................... ..... 6 3. features.................................................................................................................... .......... 7 4. pin configuration........................................................................................................... .... 8 4.1 (16-bit mode) .............................................................................................................. ................................... 8 4.2 (8-bit mode) ............................................................................................................... .................................... 9 5. pin description ............................................................................................................. ... 10 5.1 processor interface ........................................................................................................ ............................. 10 5.1.1 8-bit mode pins.......................................................................................................... ............................... 10 5.2 eeprom interface........................................................................................................... ........................... 11 5.3 clock interface ............................................................................................................ ................................ 11 5.4 led interface .............................................................................................................. ................................ 11 5.5 10/100 phy/fiber........................................................................................................... ............................. 11 5.6 miscellaneous.............................................................................................................. ................................ 12 5.7 power pins ................................................................................................................. ................................. 12 5.8 strap pins table ........................................................................................................... ................................. 12 6. vendor control and status register set........................................................................ 13 6.1 network control register (00h) ............................................................................................. ..................... 14 6.2 network status register (01h).............................................................................................. ...................... 16 6.3 tx control register (02h).................................................................................................. ......................... 16 6.4 tx status register i ( 03h ) for packet index i............................................................................ ................ 17 6.5 tx status register ii ( 04h ) for packet index i i......................................................................... ................ 17 6.6 rx control register ( 05h ) ................................................................................................ ........................ 18 6.7 rx status register ( 06h )................................................................................................. ......................... 18 6.8 receive overflow counter register ( 07h ).................................................................................. .............. 19 6.9 back pressure threshold register (08h) ..................................................................................... .............. 19 6.10 flow control threshold register ( 09h ) ................................................................................... ............... 20 6.11 rx/tx flow control register ( 0ah )....................................................................................... ................. 21 6.12 eeprom & phy control register ( 0bh ) ..................................................................................... .......... 21 6.13 eeprom & phy address register ( 0ch )..................................................................................... ......... 22 6.14 eeprom & phy data register (ee_phy_l:0dh ee_phy_h:0eh) ................................................. 22
dm9000b ethernet controller with general processor interface final 3 version: dm9000b-13-ds-f03 march 5, 2012 6.15 wake up control register ( 0fh ) (in 8-bit mode).......................................................................... .......... 22 6.16 physical address register ( 10h~15h ) ..................................................................................... .............. 22 6.17 multicast address register ( 16h~1dh ) .................................................................................... .............. 23 6.18 general purpose control register ( 1eh ) ( for 8 bit mode only, for 16 bit mode, see reg . 34h)...... 23 6.19 general purpose register ( 1fh ) ( for 8 bit mode only, for 16 bit mode, see reg . 34h) ....................... 24 6.20 tx sram read pointer address register (22h~23h)........................................................................... .. 24 6.21 rx sram write pointer address register (24h~25h).......................................................................... ... 24 6.22 vendor id register (28h~29h) .............................................................................................. ................... 24 6.23 product id register (2ah~2bh) ............................................................................................. .................. 24 6.24 chip revision register (2ch) .............................................................................................. ..................... 24 6.25 transmit control register 2 ( 2dh )....................................................................................... ................... 24 6.26 operation test control register ( 2eh ) ................................................................................... ................ 25 6.27 special mode control register ( 2fh ) ..................................................................................... ................ 25 6.28 early transmit control/status register ( 30h ) ............................................................................ ............. 27 6.29 check sum control register ( 31h ) ........................................................................................ ................ 27 6.30 receive check sum status register ( 32h ) ................................................................................. ........... 27 6.31 mii phy address register ( 33h ) .......................................................................................... .................. 29 6.32 led pin control register ( 34h ) .......................................................................................... .................... 29 6.33 processor bus control register ( 38h ).................................................................................... ................ 29 6.34 int pin control register ( 39h ) .......................................................................................... ..................... 30 6.35 system clock turn on control register ( 50h ) ............................................................................. ......... 30 6.36 resume system clock control register ( 51h ).............................................................................. ......... 30 6.37 memory data pre-fetch read command without address increment register (f0h) ............................ 30 6.38 memory data read comman d without address increment register (f1h)............................................. 30 6.39 memory data read command with address increment register (f2h).................................................. 30 6.40 memory data read address register (f4h~f5h) ............................................................................... .... 30 6.41 memory data write command without address increment register (f6h) ............................................. 30 6.42 memory data write command with address increment register (f8h)..................................................... 31 6.43 memory data write address register (fah~fbh).............................................................................. ....... 31 6.44 tx packet length register (fch~fdh)....................................................................................... ............ 31 6.45 interrupt status register (feh)........................................................................................... ...................... 31 6.46 interrupt mask register (ffh) ............................................................................................. ..................... 31 7. eeprom format .............................................................................................................. 3 3 8. phy register description ............................................................................................... 34
dm9000b ethernet controller with general processor interface final 4 version: dm9000b-13-ds-f03 march 5, 2012 8.1 basic mode control register (bmcr) - 00 .................................................................................... ............. 35 8.2 basic mode status register (bmsr) - 01..................................................................................... .............. 36 8.3 phy id identifier register #1 (phyid1) - 02 ................................................................................ .............. 37 8.4 phy id identifier register #2 (phyid2) - 03 ................................................................................ .............. 37 8.5 auto-negotiation advertisement register (anar) - 04 ........................................................................ ....... 38 8.6 auto-negotiation link partner ability register (anlpar) ? 05 ............................................................... .... 39 8.7 auto-negotiation expansion register (aner)- 06 ............................................................................. ......... 39 8.8 davicom specified configuration register (dscr) - 16....................................................................... ... 40 8.9 davicom specified configuration and status register (dscsr) - 17 ..................................................... 40 8.10 10base-t configuration/status (10btcsr) - 18.............................................................................. ....... 42 8.11 power down control register (pwdor) - 19 .................................................................................. ......... 43 8.12 (specified config) register ? 20 .......................................................................................... ...................... 43 9. functional description .................................................................................................... 45 9.1 host interface ............................................................................................................. ................................. 45 9.2 direct memory access control............................................................................................... ..................... 45 9.3 packet transmission ........................................................................................................ ........................... 45 9.4 packet reception ........................................................................................................... ............................. 45 9.5 100base-tx operation ....................................................................................................... ........................ 46 9.5.1 4b5b encoder............................................................................................................. ......................... 46 9.5.2 scrambler................................................................................................................ ............................. 46 9.5.3 parallel to serial converter............................................................................................. ..................... 46 9.5.4 nrz to nrzi encoder...................................................................................................... .................... 46 9.5.5 mlt-3 converter .......................................................................................................... ........................ 46 9.5.6 mlt-3 driver ............................................................................................................. ........................... 46 9.5.7 4b5b code group .......................................................................................................... ..................... 47 9.6 100base-tx receiver ........................................................................................................ ......................... 48 9.6.1 signal detect............................................................................................................ ............................ 48 9.6.2 adaptive equalization .................................................................................................... ...................... 48 9.6.3 mlt-3 to nrzi decoder .................................................................................................... ................... 48 9.6.4 clock recovery module.................................................................................................... ................... 48 9.6.5 nrzi to nrz .............................................................................................................. .......................... 48 9.6.6 serial to parallel................. ...................................................................................... ............................ 48 9.6.7 descrambler.............................................................................................................. ........................... 48 9.6.8 code group alignment ..................................................................................................... ................... 49 9.6.9 4b5b decoder............................................................................................................. ......................... 49 9.7 10base-t operation ......................................................................................................... ........................... 49 9.8 collision detection ........................................................................................................ .............................. 49 9.9 carrier sense .............................................................................................................. ................................ 49 9.10 auto-negotiation.......................................................................................................... .............................. 49 9.11 power reduced mode........................................................................................................ ....................... 50
dm9000b ethernet controller with general processor interface final 5 version: dm9000b-13-ds-f03 march 5, 2012 9.11.1 power down mode ......................................................................................................... .................... 50 9.11.2 reduced transmit power mode............................................................................................. ............ 50 10. dc and ac electrical characteristics .......................................................................... 51 10.1 absolute maximum ratings ( 25 c ) ......................................................................................................... 51 10.1.1 operating conditio ns .................................................................................................... ..................... 51 10.2 dc electrical characteristics (vdd = 3.3v)................................................................................ .............. 51 10.3 ac electrical characteristics & timing waveforms .......................................................................... ........ 52 10.3.1 tp interface ............................................................................................................ ........................... 52 10.3.2 oscillator/crystal timing ............................................................................................... ..................... 52 10.3.3 power on reset timing................................................................................................... .................. 52 10.3.4 processor i/o read timing............................................................................................... ................. 53 10.3.5 processor i/o write timing.............................................................................................. .................. 54 10.3.6 eeprom interface timing................................................................................................. ................ 55 11. application notes.......................................................................................................... .56 11.1 network interface signal routing.......................................................................................... .................... 56 11.2 10base-t/100base-tx auto mdix application ................................................................................. ........ 56 11.3 10base-t/100base-tx ( non auto mdix transformer application ) ........................................................ 57 11.4 power decoupling capacitors ............................................................................................... .................... 58 11.5 ground plane layout ....................................................................................................... ......................... 59 11.6 power plane partitioning .................................................................................................. ......................... 60 11.7 magnetic selection guide .................................................................................................. ....................... 61 11.8 crystal selection guide ................................................................................................... .......................... 61 12. package information ..................................................................................................... 62 13. ordering information..................................................................................................... 63
dm9000b ethernet controller with general processor interface final 6 version: dm9000b-13-ds-f03 march 5, 2012 1. general description the dm9000b is a fully integrated and cost-effective low pin count single chip fa st ethernet controller with a general processor interface, a 10/100m phy and 4k dword sram. it is designed with low power and high performance process interface that support 3.3v with 5v io tolerance. the dm9000b supports 8-bit and 16-bit data interfaces to internal me mory accesses for various processors. the phy of the dm9000b can interface to the utp3, 4, 5 in 10base-t and utp5 in 100base-tx with hp auto-mdix. it is fully co mpliant with the ieee 802.3u spec. its auto-negotiation function will automatically configure the dm9000b to take the maximum advantage of its abilities. the dm9000b also supports ieee 802.3x full- duplex flow control. 2. block diagram eeprom interface auto-mdix led tx+/- rx+/- mii management control & mii register autonegotiation memory management rx machine tx machine mac mii 100 base-tx pcs 100 base-tx transceiver 10 base-t tx/rx phyceiver control &status registers internal sram processor interface
dm9000b ethernet controller with general processor interface final 7 version: dm9000b-13-ds-f03 march 5, 2012 3. features supports processor interface: byte/word of i/o command to internal memory data operation integrated 10/100m transceiver with hp auto-mdix supports back pressure mode for half-duplex ieee802.3x flow control for full-duplex mode supports wakeup frame, link status change and magic packet events for remote wake up support 100m fiber interface. integrated 16k byte sram build in 3.3v to 1.8v regulator supports early transmit supports ip/tcp/udp checksum generation and checking supports automatically load vendor id and product id from eeprom optional eeprom configuration very low power consumption mode: ? power reduced mode (cable detection) ? power down mode ? selectable tx drivers for 1:1 or 1.25:1 transformers for additional power reduction. compatible with 3.3v and 5.0v tolerant i/o dsp architecture phy transceiver. 48-pin lqfp, 0.18 um process
dm9000b ethernet controller with general processor interface final 8 version: dm9000b-13-ds-f03 march 5, 2012 4. pin configuration 4.1 (16-bit mode) 1 2 3 4 5 6 7 8 9 10 11 12 37 38 39 40 41 42 43 44 45 46 47 48 bgres txvdd18 rx+ tx- rx- rxgnd txgnd tx+ rxvdd18 sd7 sd6 sd5 cs# led2 led1 test pwrst# vdd x2 x1 gnd sd rxgnd bggnd 13 14 15 16 17 18 19 20 21 22 23 24 eedio sd4 sd3 gnd sd2 sd1 sd0 eecs sd15 vdd eeck sd14 35 36 34 33 32 31 30 29 28 27 26 25 sd13 sd9 sd11 sd12 sd10 vdd sd8 cmd int gnd ior# iow# dm9000b (16-bit mode)
dm9000b ethernet controller with general processor interface final 9 version: dm9000b-13-ds-f03 march 5, 2012 4.2 (8-bit mode) 1 2 3 4 5 6 7 8 9 10 11 12 37 38 39 40 41 42 43 44 45 46 47 48 bgres txvdd18 rx+ tx- rx- rxgnd txgnd tx+ rxvdd18 sd7 sd6 sd5 cs# led2 led1 test pwrst# vdd x2 x1 gnd sd rxgnd bggnd 13 14 15 16 17 18 19 20 21 22 23 24 eedio sd4 sd3 gnd sd2 sd1 sd0 eecs wake vdd eeck led3 35 36 34 33 32 31 30 29 28 27 26 25 gp6 gp2 gp4 gp5 gp3 vdd gp1 cmd int gnd ior# iow# dm9000b (8-bit mode)
dm9000b ethernet controller with general processor interface final 10 version: dm9000b-13-ds-f03 march 5, 2012 5. pin description i = input o = output i/o = input/output o/d = open drain p = power # = asserted low pd = internal pull-low about 60k 5.1 processor interface pin no. pin name type description 35 ior# i,pd processor read command this pin is low active at default, its polarity can be modified by eeprom setting. see the eeprom content description for detail 36 iow# i,pd processor write command this pin is low active at default, its polarity can be modified by eeprom setting. see the eeprom content description for detail 37 cs# i,pd chip select a default low active signal used to select the dm9000b. its polarity can be modified by eeprom setting. see the eeprom content description for detail. 32 cmd i,pd command type when high, the access of this command cycle is data port when low, the access of this command cycle is index port 34 int o,pd interrupt request this pin is high active at default, its polarity can be modified by eeprom setting or by strap pin eeck. see the eeprom content description for detail 18,17,16, 14,13,12, 11,10 sd0~7 i/o,pd processor data bus bit 0~7 31,29,28, 27,26,25, 24,22 sd8~15 i/o,pd processor data bus bit 8~15 in 16-bit mode, these pins act as the processor data bus bit 8~15; when eecs pin is pulled high , they have other definitions. see 8-bit mode pin description for details. 5.1.1 8-bit mode pins pin no. pin name type description 22 wake o,pd issue a wake up signal when wake up event happens 24 led3 o,pd full-duplex led in led mode 1, its low output indicates that the internal phy is operated in full-duplex mode, or it is floating for the half-duplex mode of the internal phy in led mode 0, its low output indicates that the internal phy is operated in 10m mode, or it is floating for the 100m mode of the internal phy note: led mode is defined in eeprom setting. 25,26,27 gp6~4 o,pd general purpose output pins: these pins are output only for general purpose that is configured by register 1fh. gp6 pin also act as trap pin for the int output type. when gp6 is pulled high, the int is open-drain output type; otherwise it is force output type.
dm9000b ethernet controller with general processor interface final 11 version: dm9000b-13-ds-f03 march 5, 2012 28,29,31 gp3,gp2,gp1 i/o general i/o ports registers gpcr and gpr can program these pins these pins are input ports at default. 5.2 eeprom interface pin no. pin name type description 19 eedio i/o,pd io data to eeprom 20 eeck o,pd clock to eeprom this pin is also used as the strap pin of the polarity of the int pin when this pin is pulled high, the int pin is low active; otherwise the int pin is high active 21 eecs o,pd chip select to eeprom this pin is also used as a strap pin to define the internal memory data bus width. when it is pulled high, the memory access bus is 8-bit; otherwise it is 16-bit. 5.3 clock interface pin no. pin name type description 43 x2 o crystal 25mhz out 44 x1 i crystal 25mhz in 5.4 led interface pin no. pin name type description 39 led1 i/o speed led its low output indicates that the internal phy is operated in 100m/s, or it is floating for the 10m mode of the internal phy. 38 led2 i/o link / active led in led mode 1, it is the combined led of link and carrier sense signal of the internal phy in led mode 0, it is the led of the carrier sense signal of the internal phy only this pin also acts as wake defined in eeprom setting in 16-bit mode. the led2 (link/act) function is disabled while the pin38 supports wol function. 5.5 10/100 phy/fiber pin no. pin name type description 46 sd i fiber-optic signal detect pecl signal, which indicates whether or not the fiber-optic receive pair is receiving valid levels 48 bggnd p band gap ground 1 bgres i/o band gap pin 2 rxvdd18 p 1.8v power output for tp rx 9 txvdd18 p 1.8v power output for tp tx
dm9000b ethernet controller with general processor interface final 12 version: dm9000b-13-ds-f03 march 5, 2012 3,4 rx+,rx- i/o tp rx these two pins are the receive input in mdi mode or the transmit output in mdix mode. 5,47 rxgnd p rx ground 6 txgnd p tx ground 7,8 tx+,tx- i/o tp tx these two pins are the transmit output in mdi mode or the receive input in mdix mode. 5.6 miscellaneous pin no. pin name type description 41 test i operation mode force to ground in normal application 40 pwrst# i power on reset active low signal to initiate the dm9000b the dm9000b is ready after 5us when this pin deasserted 5.7 power pins pin no. pin name type description 23,30,42 vdd p digital vdd 3.3v power input 15,33,45 gnd p digital gnd 5.8 strap pins table 1: pull-high 1k~10k, 0: floating (default) pin no. pin name description 20 eeck polarity of int 1: int pin low active; 0: int pin high active 21 eecs data bus width 1: 8-bit 0: 16-bit 22 wake polarity of cs# in 8-bit mode 1: cs# pin active high 0: cs# pin active low 25 gp6 int output type in 8-bit mode 1: open-drain 0: force mode
dm9000b ethernet controller with general processor interface final 13 version: dm9000b-13-ds-f03 march 5, 2012 6. vendor control and status register set the dm9000b implements several control and status registers, which can be accessed by the host. these csrs are byte aligned. all csrs are set to their default values by hardware or software reset unless they are specified register description offset default value after reset ncr network control register 00h 00h nsr network status register 01h 00h tcr tx control register 02h 00h tsr i tx status register i 03h 00h tsr ii tx status register ii 04h 00h rcr rx control register 05h 00h rsr rx status register 06h 00h rocr receive overflow counter register 07h 00h bptr back pressure threshold register 08h 37h fctr flow control threshold register 09h 38h fcr rx flow control register 0ah 00h epcr eeprom & phy control register 0bh 00h epar eeprom & phy address register 0ch 40h epdrl eeprom & phy low byte data register 0dh xxh epdrh eeprom & phy high byte data register 0eh xxh wcr wake up control register (in 8-bit mode) 0fh 00h par physical address register 10h-15h determined by eeprom mar multicast address register 16h-1dh xxh gpcr general purpose control register (in 8-bit mode) 1eh 01h gpr general purpose register 1fh xxh trpal tx sram read pointer address low byte 22h 00h trpah tx sram read pointer address high byte 23h 00h rwpal rx sram write pointer address low byte 24h 00h rwpah rx sram write pointer address high byte 25h 0ch vid vendor id 28h-29h 0a46h pid product id 2ah-2bh 9000h chipr chip revision 2ch 1ah tcr2 tx control register 2 2dh 00h ocr operation control register 2eh 00h smcr special mode control register 2fh 00h etxcsr early transmit control/status register 30h 00h tcscr transmit check sum control register 31h 00h rcscsr receive check sum control status register 32h 00h mpar mii phy address register 33h 00h ledcr led pin control register 34h 00h buscr processor bus control register 38h 01h intcr int pin control register 39h 00h sccr system clock turn on control register 50h 00h
dm9000b ethernet controller with general processor interface final 14 version: dm9000b-13-ds-f03 march 5, 2012 rsccr resume system clock control register 51h xxh mrcmdx memory data pre-fetch read command without address increment register f0h xxh mrcmdx1 memory data read command with address increment register f1h xxh mrcmd memory data read command with address increment register f2h xxh mrrl memory data read_ address register low byte f4h 00h mrrh memory data read_ address register high byte f5h 00h mwcmdx memory data write command without address increment register f6h xxh mwcmd memory data write command with address increment register f8h xxh mwrl memory data write_ address register low byte fah 00h mwrh memory data write _ address register high byte fbh 00h txpll tx packet length low byte register fch xxh txplh tx packet length high byte register fdh xxh isr interrupt status register feh 00h imr interrupt mask register ffh 00h key to default in the register description that follows, the default column takes the form: , where : 1 bit set to logic one 0 bit set to logic zero x no default value p = power on reset default value s = software reset default value e = default value from eeprom t = default value from strap pin : ro = read only rw = read/write r/c = read and clear rw/c1=read/write and cleared by write 1 wo = write only reserved bits are shaded and should be written with 0. reserved bits are undefined on read access. *if register 1fh bit 0 is updated from ?1? to ?0?, the all registers can not be accessed within 1ms. 6.1 network control register (00h) bit name default description 7 reserved p0,rw reserved 6 wakeen p0,rw when set, it enables the wakeup function. clearing this bit will also clears all wakeup event status this bit will not be affected after a software reset 0: enable 1: disable 5 reserved 0,ro reserved 4 fcol ps0,rw 1: force collision mode, used for testing 0: disable 3 fdx ps0,ro duplex mode of the internal phy. 1: full-duplex 0: half-duplex
dm9000b ethernet controller with general processor interface final 15 version: dm9000b-13-ds-f03 march 5, 2012 2:1 lbk ps00, rw loop-back mode bit: 2 1 0 0 normal 0 1 mac internal loop-back 1 0 internal phy 100m mode digital loop-back 1 1 (reserved) 0 rst p0,rw software reset and auto clear after 10us 1: reset state 0: non-reset state
dm9000b ethernet controller with general processor interface final 16 version: dm9000b-13-ds-f03 march 5, 2012 6.2 network status register (01h) bit name default description 7 speed x,ro speed of internal phy 0:100mbps 1:10mbps this bit has no meaning when linkst=0 6 linkst x,ro link status of internal phy 1: link ok 0: link failed 5 wakest p0, rw/c1 wakeup event status. clears by read or write 1 (work in 8-bit mode) this bit will not be affected after software reset 1: wakeup event 0: no wakeup event 4 reserved 0,ro reserved 3 tx2end ps0, rw/c1 tx packet 2 complete status. clears by read or write 1 transmit completion of packet index 2 1: transmit completion of packet index 2 0: no packet in transmit or packet index 2 transmit in progress 2 tx1end ps0, rw/c1 tx packet 1 complete status. clears by read or write 1 transmit completion of packet index 1 1: transmit completion of packet index 1 0: no packet in transmit or packet index 1 transmit in progress 1 rxov ps0,ro rx fifo overflow status 1: overflow 0: non-overflow 0 reserved 0,ro reserved 6.3 tx control register (02h) bit name default description 7 reserved 0,ro reserved 6 tjdis ps0,rw transmit jabber timer (2048 bytes) control 1: disabled. 0: enable 5 excecm ps0,rw excessive collision mode control 1: still tries to transmit this packet 0: aborts this packet when excessive collision counts more than 15 4 pad_dis2 ps0,rw pad appends for packet index 2 0: enable 1: disable 3 crc_dis2 ps0,rw crc appends for packet index 2 0: enable 1: disable 2 pad_dis1 ps0,rw pad appends for packet index 1 0: enable 1: disable 1 crc_dis1 ps0,rw crc appends for packet index 1 0: enable 1: disable
dm9000b ethernet controller with general processor interface final 17 version: dm9000b-13-ds-f03 march 5, 2012 0 txreq ps0,rw tx request. auto clears after sending completely 1: transmit in progress 0: no transmit in progress 6.4 tx status register i ( 03h ) for packet index i bit name default description 7 tjto ps0,ro transmit jabber time out it is set to indicate that the transmitt ed frame is truncated due to more than 2048 bytes are transmitted 1: timeout 0: non-timeout 6 lc ps0,ro loss of carrier it is set to indicate the loss of carrier during the frame transmission. it is not valid in internal loop-back mode 1: loss of carrier 0: no carrier have been loss 5 nc ps0,ro no carrier it is set to indicate that there is no carrier signal during the frame transmission. it is not valid in internal loop-back mode 1: no carrier during transmit 0: normal carrier status during transmit 4 lc ps0,ro late collision it is set when a collision occurs after the collision window of 64 bytes 1: late collision 0: no late collision 3 col ps0,ro collision packet it is set to indicate that the collision occurs during transmission 1: have been collision 0: no collision 2 ec ps0,ro excessive collision it is set to indicate that the transmission is aborted due to 16 excessive collisions 1: 16 excessive collisions 0: less than 16 collisions 1:0 reserved 0,ro reserved 6.5 tx status register ii ( 04h ) for packet index i i bit name default description 7 tjto ps0,ro transmit jabber time out it is set to indicate that the transmitt ed frame is truncated due to more than 2048 bytes are transmitted 1: timeout 0: non-timeout 6 lc ps0,ro loss of carrier it is set to indicate the loss of carrier during the frame transmission. it is not valid in internal loop-back mode 1: loss of carrier 0: no carrier have been loss
dm9000b ethernet controller with general processor interface final 18 version: dm9000b-13-ds-f03 march 5, 2012 5 nc ps0,ro no carrier it is set to indicate that there is no carrier signal during the frame transmission. it is not valid in internal loop-back mode 1: no carrier during transmit 0: normal carrier status during transmit 4 lc ps0,ro late collision it is set when a collision occurs after the collision window of 64 bytes 1: late collision 0: no late collision 3 col ps0,ro collision packet it is set to indicate that the collision occurs during transmission 1: have been collision 0: no collision 2 ec ps0,ro excessive collision it is set to indicate that the transmission is aborted due to 16 excessive collisions 1: 16 excessive collisions 0: less than 16 collisions 1:0 reserved 0,ro reserved 6.6 rx control register ( 05h ) bit name default description 7 reserved ps0,rw reserved 6 wtdis ps0,rw watchdog timer disable 1: when set, the watchdog timer (2048 bytes) is disabled. 0: otherwise it is enabled 5 dis_long ps0,rw discard long packet if packet length is over 1522byte 1: enable 0: disable 4 dis_crc ps0,rw discard crc error packet 1: enable 0: disable 3 all ps0,rw pass all multicast 1: enable 0: disable 2 runt ps0,rw pass runt packet 1: enable 0: disable 1 prmsc ps0,rw promiscuous mode 1: enable 0: disable 0 rxen ps0,rw rx enable 1: enable 0: disable 6.7 rx status register ( 06h ) bit name default description
dm9000b ethernet controller with general processor interface final 19 version: dm9000b-13-ds-f03 march 5, 2012 7 rf ps0,ro runt frame it is set to indicate that the size of the received frame is smaller than 64 bytes 1: affirmative 0: negative 6 mf ps0,ro multicast frame it is set to indicate that the received frame has a multicast address 1: affirmative 0: negative 5 lcs ps0,ro late collision seen it is set to indicate that a late collision is found during the frame reception 1: affirmative 0: negative 4 rwto ps0,ro receive watchdog time-out it is set to indicate that it receives more than 2048 bytes 1: affirmative 0: negative 3 ple ps0,ro physical layer error it is set to indicate that a physical layer error is found during the frame reception 1: affirmative 0: negative 2 ae ps0,ro alignment error it is set to indicate that the received frame ends with a non-byte boundary 1: affirmative 0: negative 1 ce ps0,ro crc error it is set to indicate that the rece ived frame ends with a crc error 1: affirmative 0: negative 0 foe ps0,ro fifo overflow error it is set to indicate that a fifo overflow error happens during the frame reception 1: affirmative 0: negative 6.8 receive overflow counter register ( 07h ) bit name default description 7 rxfu ps0,r/c receive overflow counter overflow this bit is set when the roc has an overflow condition 1: affirmative 0: negative 6:0 roc ps0,r/c receive overflow counter this is a statistic counter to indicate the received packet count upon fifo overflow 6.9 back pressure threshold register (08h) bit name default description 7:4 bphw ps3, rw back pressure high water overflow threshold. mac will generate the jam pattern when rx sram free space is lower than this threshold value the default is 3k-byte free space. please do not exceed sram size (1 unit=1k bytes)
dm9000b ethernet controller with general processor interface final 20 version: dm9000b-13-ds-f03 march 5, 2012 3:0 jpt ps7, rw jam pattern time. default is 200us bit3 bit2 bit1 bit0 time 0 0 0 0 5us 0 0 0 1 10us 0 0 1 0 15us 0 0 1 1 25us 0 1 0 0 50us 0 1 0 1 100us 0 1 1 0 150us 0 1 1 1 200us 1 0 0 0 250us 1 0 0 1 300us 1 0 1 0 350us 1 0 1 1 400us 1 1 0 0 450us 1 1 0 1 500us 1 1 1 0 550us 1 1 1 1 600us 6.10 flow control threshold register ( 09h ) bit name default description 7:4 hwot ps3, rw rx fifo high water overflow threshold send a pause packet with pause_ time=ffffh when the rx ram free space is less than this value., if this value is zero, its means no free rx sram space. the default value is 3k-byte free space. please do not exceed sram size (1 unit=1k bytes) 3:0 lwot ps8, rw rx fifo low water overflow threshold send a pause packet with pause time=0000 when rx sram free space is larger than this value. this pause packet is enabled after the high water pause packet is transmitted. the default sram free space is 8k-byte. please do not exceed sram size (1 unit=1k bytes)
dm9000b ethernet controller with general processor interface final 21 version: dm9000b-13-ds-f03 march 5, 2012 6.11 rx/tx flow control register ( 0ah ) bit name default description 7 txp0 ps0,rw force tx pause packet auto clears after pause packet transmissi on completion. set to tx pause packet with time = 0000h 6 txpf ps0,rw force tx pause packet auto clears after pause packet transmissi on completion. set to tx pause packet with time = ffffh 5 txpen ps0,rw tx pause packet enable enables the pause packet for high/low water threshold control 1: enable 0: disable 4 bkpa ps0,rw back pressure mode this mode is for half duplex mode only. it generates a jam pattern when any packet comes and rx sram is over bphw of register 8. 1: enable 0: disable 3 bkpm ps0,rw back pressure mode this mode is for half duplex mode only. it generates a jam pattern when a packet?s da matches and rx sram is over bphw of register 8. 1: enable 0: disable 2 rxps ps0,r/c rx pause packet status, latch and read clearly 1: has been receive pause packet 0: no pause packet received 1 rxpcs ps0,ro rx pause packet current status 1: received pause packet timer down-count in progress 0: pause packet timer value is zero 0 flce ps0,rw flow control enable set to enable the flow control mode (i.e. can disable dm9000b tx function) 1: enable 0: disable 6.12 eeprom & phy control register ( 0bh ) bit name default description 7:6 reserved 0,ro reserved 5 reep p0,rw reload eeprom. driver needs to clear it up after the operation completes 4 wep p0,rw write eeprom enable 1: enable 0: disable 3 epos p0,rw eeprom or phy operation select 0: select eeprom 1: select phy 2 erprr p0,rw eeprom read or phy register read command. driver needs to clear it up after the operation completes. 1 erprw p0,rw eeprom write or phy register write command. driver needs to clear it up after the operation completes.
dm9000b ethernet controller with general processor interface final 22 version: dm9000b-13-ds-f03 march 5, 2012 0 erre p0,ro eeprom access status or phy access status 1: the eeprom or phy access is in progress 0: completion of the eeprom or phy access 6.13 eeprom & phy address register ( 0ch ) bit name default description 7:6 phy_adr p01,rw phy address bit 1 and 0, the phy address bit [4:2] is force to 0. force to 01 in application. 5:0 eroa p0,rw eeprom word address or phy register number. 6.14 eeprom & phy data register (ee_phy_l:0dh ee_phy_h:0eh) bit name default description 7:0 ee_phy_l p0,rw eeprom or phy low byte data the low-byte data read from or write to eeprom or phy. 7:0 ee_phy_h p0,rw eeprom or phy high byte data the high-byte data read from or write to eeprom or phy. 6.15 wake up control register ( 0fh ) (in 8-bit mode) bit name type description 7:6 reserved 0,ro reserved 5 linken p0,rw when set, it enables link status change wake up event this bit will not be affected after software reset 1: enable 0: disable 4 sampleen p0,rw when set, it enables sample frame wake up event this bit will not be affected after software reset 1: enable 0: disable 3 magicen p0,rw when set, it enables magic packet wake up event this bit will not be affected after software reset 1: enable 0: disable 2 linkst p0,ro when set, it indicates that link change and link status change event occurred this bit will not be affected after software reset 1: link change event occurred 0: no link change event 1 samplest p0,ro when set, it indicates that the sample frame is received and sample frame event occurred. this bit will not be affected after software reset 1: sample frame matched event occurred 0: no sample frame matched 0 magicst p0,ro when set, indicates the magic packet is received and magic packet event occurred. this bit will not be affected after a software reset 1: magic packet received 0: no magic packet received 6.16 physical address register ( 10h~15h ) bit name default description 7:0 pab5 e,rw physical address byte 5 (15h) 7:0 pab4 e,rw physical address byte 4 (14h)
dm9000b ethernet controller with general processor interface final 23 version: dm9000b-13-ds-f03 march 5, 2012 7:0 pab3 e,rw physical address byte 3 (13h) 7:0 pab2 e,rw physical address byte 2 (12h) 7:0 pab1 e,rw physical address byte 1 (11h) 7:0 pab0 e,rw physical address byte 0 (10h) 6.17 multicast address register ( 16h~1dh ) bit name default description 7:0 mab7 x,rw multicast address byte 7 (1dh) 7:0 mab6 x,rw multicast address byte 6 (1ch) 7:0 mab5 x,rw multicast address byte 5 (1bh) 7:0 mab4 x,rw multicast address byte 4 (1ah) 7:0 mab3 x,rw multicast address byte 3 (19h) 7:0 mab2 x,rw multicast address byte 2 (18h) 7:0 mab1 x,rw multicast address byte 1 (17h) 7:0 mab0 x,rw multicast address byte 0 (16h) 6.18 general purpose control register ( 1eh ) ( for 8 bit mode only, for 16 bit mode, see reg . 34h) bit name default description 7 reserved ph0,ro reserved 6:4 gpc64 p, 111,ro general purpose control 6~4 define the input/output direction of pins gp6~4 respectively. these bits are all forced to ?1?s, so pins gp6~4 are output only. 3:1 gpc31 p, 000,rw general purpose control 3~1 define the input/output direction of pins gp 3~1 respectively. 1: when a bit is set 1, the direction of correspondent bit of general purpose register is output. 0: other defaults are input 0 reserved p1,ro reserved
dm9000b ethernet controller with general processor interface final 24 version: dm9000b-13-ds-f03 march 5, 2012 6.19 general purpose register ( 1fh ) ( for 8 bit mode only, for 16 bit mode, see reg . 34h) bit name default description 7 reserved 0,ro reserved 6-4 gpo p0,rw general purpose output 6~4 (in 8-bit mode) these bits are reflect to pin gp6~4 respectively. 3:1 gpio p0,rw general purpose (in 8-bit mode) when the correspondent bit of general purpose control register is 1, the value of the bit is reflected to pin gp3~1 respectively. when the correspondent bit of general purpose control register is 0, the value of the bit to be read is reflected from correspondent pins of gp3~1 respectively. 0 phypd et1,wo phy power down control 1: power down phy 0: power up phy *if this bit is updated from ?1? to ?0?, the whole mac registers can not be accessed within 1ms. 6.20 tx sram read pointer address register (22h~23h) bit name default description 7:0 trpah ps0,ro tx sram read pointer address high byte (23h) 7:0 trpal ps0.ro tx sram read pointer address low byte (22h) 6.21 rx sram write pointer address register (24h~25h) bit name default description 7:0 rwpah ps,0ch,ro rx sram write pointer address high byte (25h) 7:0 rwpal ps,00h.ro rx sram write pointer address low byte (24h) 6.22 vendor id register (28h~29h) bit name default description 7:0 vidh pe,0ah,ro vendor id high byte (29h) 7:0 vidl pe,46h.ro vendor id low byte (28h) 6.23 product id register (2ah~2bh) bit name default description 7:0 pidh pe,90h,ro product id high byte (2bh) 7:0 pidl pe,00h.ro product id low byte (2ah) 6.24 chip revision register (2ch) bit name default description 7:0 chipr p,1ah,ro chip revision 6.25 transmit control register 2 ( 2dh ) bit name default description 7 led p0,rw led mode 1: the led pins act as led mode 1. 0: the led mode is default mode 0 or depending eeprom setting.
dm9000b ethernet controller with general processor interface final 25 version: dm9000b-13-ds-f03 march 5, 2012 6 rlcp p0,rw retry late collision packet re-transmit the packet with late-collision 1: enable 0: disable 5 dtu p0,rw disable tx under run retry disable to re-transmit the underruned packet 1: disable 0: enable 4 onepm p0,rw one packet mode 1: only one packet transmit command can be issued before transmit completed. 0: at most two packet transmit command can be issued before transmit completed. 3~0 ifgs p0,rw inter-frame gap setting 0xxx: 96-bit 1000: 64-bit 1001: 72-bit 1010:80-bit 1011:88-bit 1100:96-bit 1101:104-bit 1110: 112-bit 1111:120-bit 6.26 operation test control register ( 2eh ) bit name default description 7~6 scc p0,rw system clock control set the internal system clock. 00: 50mhz 01: 20mhz 10: 100mhz 11: reserved 5 reserved p0,rw reserved 4 soe p0,rw internal sram output-enable always on 3 scs p0,rw internal sram chip-select always on 2~0 phyop p0,rw internal phy operation mode for testing 6.27 special mode control register ( 2fh ) bit name default description 7 sm_en p0,rw special mode 1: enable 0: disable 6~3 reserved p0,rw reserved 2 flc p0,rw force late collision 1: enable 0: disable 1 fb1 p0,rw force longest back-off time 1: enable 0: disable
dm9000b ethernet controller with general processor interface final 26 version: dm9000b-13-ds-f03 march 5, 2012 0 fb0 p0,rw force shortest back-off time 1: enable 0: disable
dm9000b ethernet controller with general processor interface final 27 version: dm9000b-13-ds-f03 march 5, 2012 6.28 early transmit control/status register ( 30h ) bit name default description 7 ete ps0, rw early transmit enable 1: enable bits[2:0] 0: disable 6 ets2 ps0,ro early transmit status ii 1: has been transmit under-run 0: no transmit under-run 5 ets1 ps0,ro early transmit status i 1: has been transmit under-run 0: no transmit under-run 4~2 reserved 000,ro reserved 1~0 ett ps0,rw early transmit threshold start transmit when data write to tx fifo reach the byte-count threshold bit-1 bit-0 threshold ----- ---- ------------- 0 0 : 12.5% 0 1 : 25% 1 0 : 50% 1 1 : 75% 6.29 check sum control register ( 31h ) bit name default description 7~3 reserved 0,ro reserved 2 udpcse ps0,rw udp checksum generation 1: enable 0: disable 1 tcpcse ps0,rw tcp checksum generation 1: enable 0: disable 0 ipcse ps0,rw ip checksum generation 1: enable 0: disable 6.30 receive check sum status register ( 32h ) bit name default description 7 udps ps0,ro udp checksum status 1: checksum fail, if udp packet 0: no udp checksum error 6 tcps ps0,ro tcp checksum status 1: checksum fail, if tcp packet 0: no tcp checksum error 5 ips ps0,ro ip checksum status 1: checksum fail, if ip packet 0: no ip checksum error
dm9000b ethernet controller with general processor interface final 28 version: dm9000b-13-ds-f03 march 5, 2012 4 udpp ps0,ro udp packet of current received packet 1: udp packet 0: non udp packet 3 tcpp ps0,ro tcp packet of current received packet 1: tcp packet 0: non tcp packet 2 ipp ps0,ro ip packet of current received packet 1: ip packet 0: non ip packet 1 rcsen ps0,rw receive checksum checking enable when set, the checksum status (bit 7~2) will be stored in packet?s first byte(bit 7~2) of status header respectively. 1: enable 0: disable 0 dcse ps0,rw discard checksum error packet when set, if ip/tcp/udp checksum field is error, this packet will be discarded. 1: enable 0: disable
dm9000b ethernet controller with general processor interface final 29 version: dm9000b-13-ds-f03 march 5, 2012 6.31 mii phy address register ( 33h ) bit name default description 7 adr_en hps0,r w redefine phy address 1: enable 0: disable 6~5 reserved hps0,ro reserved 4~0 ephyadr hps01,r w redefined phy address bit 4~0 the phy address field in mii management interface format. 6.32 led pin control register ( 34h ) bit name default description 7:2 reserved ps0,ro reserved 1 gpio p0,rw led act as general purpose signals in 16-bit mode 1: pin 38/39 (led2/1) act as the general purpose pins that are controlled by registers 1eh bit 2/1 and 1fh bit 2/1 respectively. 0: disable 0 mii p0,rw led act as smi signals in 16-bit mode 1: pin 38/39 (led2/1) act as the mii management interface mode. in this mode, the led1 act as data (mdio) signal and the led2 act as sourced clock (mdc) signal. these two pin are controlled by registers 0bh,0ch, and 0dh. 0: disable 6.33 processor bus control register ( 38h ) bit name default description 7 reserved p0,rw reserved 6:5 curr p00,rw data bus current driving/sinking capability 00: 2ma (default) 01: 4ma 10: 6ma 11: 8ma 4 reserved p0,rw reserved 3 est p0,rw enable schmitt trigger 1: pin 35/36/37 (ior/iow/cs#) have schmitt trigger capability. 0: disable 2 reserved p0,rw reserved 1 iow_spike p0,rw eliminate iow spike 1: eliminate about 2ns iow spike 0: disable 0 ior_spike p1,rw eliminate ior spike 1: eliminate about 2ns ior spike 0: disable
dm9000b ethernet controller with general processor interface final 30 version: dm9000b-13-ds-f03 march 5, 2012 6.34 int pin control register ( 39h ) bit name default description 7:2 reserved ps0,ro reserved 1 int_type pet0,rw int pin output type control 1: int open-collector output 0: int direct output 0 int_pol pet0,rw int pin polarity control 1: int active low 0: int active high 6.35 system clock turn on control register ( 50h ) bit name default description 7:1 reserved - reserved 0 dis_clk p0,w stop internal system clock 1: internal system clock turn off, internal phyceiver also power down 0: internal system clock is on 6.36 resume system clock control register ( 51h ) when the index port set to 51h, the internal system clock is turn on. 6.37 memory data pre-fetch read command without address increment register (f0h) bit name default description 7:0 mrcmdx x,ro read data from rx sram. after the read of this command, the read pointer of internal sram is unchanged. and the dm9000b starts to pre-fetch the sram data to internal data buffers. 6.38 memory data read command without address increment register (f1h) bit name default description 7:0 mrcmdx1 x,ro read data from rx sram. after the read of this command, the read pointer of internal sram is unchanged 6.39 memory data read command with address increment register (f2h) bit name default description 7:0 mrcmd x,ro read data from rx sram. after the read of this command, the read pointer is increased by 1or 2 depends on the operator mode (8-bit or16-bit respectively) 6.40 memory data read address register (f4h~f5h) bit name default description 7:0 mdrah ps0,rw memory data read_ addresses high byte. it will be set to 0ch, when imr bit7 =1 7:0 mdral ps0,rw memory data read_ address low byte 6.41 memory data write command without address increment register (f6h) bit name default description 7:0 mwcmdx x,wo write data to tx sram. after the write of this command, the write pointer is unchanged
dm9000b ethernet controller with general processor interface final 31 version: dm9000b-13-ds-f03 march 5, 2012 6.42 memory data write command with address increment register (f8h) bit name default description 7:0 mwcmd x,wo write data to tx sram after the write of this command, the write pointer is increased by 1 or 2, depends on the operator mode. (8-bit or 16-bit respectively) 6.43 memory data write address register (fah~fbh) bit name default description 7:0 mdwah ps0,rw memory data write_ address high byte 7:0 mdwal ps0,rw memory data write_ address low byte 6.44 tx packet length register (fch~fdh) bit name default description 7:0 txplh x,r/w tx packet length high byte 7:0 txpll x,,r/w tx packet length low byte 6.45 interrupt status register (feh) bit name default description 7 iomode t0, ro 0 : 16-bit mode 1: 8-bit mode 6 reserved ro reserved 5 lnkchg ps0,rw/c1 link status change 1: affirmative 0: negative 4 udrun ps0,rw/c1 transmit under-run 1: affirmative 0: negative 3 roo ps0,rw/c1 receive overflow counter overflow 1: affirmative 0: negative 2 ros ps0,rw/c1 receive overflow 1: affirmative 0: negative 1 pt ps0,rw/c1 packet transmitted 1: affirmative 0: negative 0 pr ps0,rw/c1 packet received 1: affirmative 0: negative 6.46 interrupt mask register (ffh) bit name default description
dm9000b ethernet controller with general processor interface final 32 version: dm9000b-13-ds-f03 march 5, 2012 7 par ps0,rw enable the sram read/write pointer to automatically return to the start address when pointer addresses are over the sram size. driver needs to set. when driver sets this bit, reg_f5 will set to 0ch automatically 1: enable 0: disable 6 reserved ro reserved 5 lnkchgi ps0,rw enable link status change interrupt 1: enable 0: disable 4 udruni ps0,rw enable transmit under-run interrupt 1: enable 0: disable 3 rooi ps0,rw enable receive overflow counter overflow interrupt 1: enable 0: disable 2 roi ps0,rw enable receive overflow interrupt 1: enable 0: disable 1 pti ps0,rw enable packet transmitted interrupt 1: enable 0: disable 0 pri ps0,rw enable packet received interrupt 1: enable 0: disable
dm9000b ethernet controller with general processor interface final 33 version: dm9000b-13-ds-f03 march 5, 2012 7. eeprom format name word offset description mac address 0 0~5 6 byte ethernet address auto load control 3 6-7 bit 1:0=01: update vendor id and product id bit 3:2=01: accept setting of word6 [8:0] bit 5:4=01: reserved bit 7:6=01: accept setting of word7 [3:0] (in 8-bit mode) bit 9:8=01: reserved bit 11:10=01: accept setting of word7 [7] bit 13:12=01: accept setting of word7 [8] bit 15:14=01: accept setting of word7 [15:12] vendor id 4 8-9 2 byte vendor id (default: 0a46h) product id 5 10-11 2 byte product id (default: 9000h) pin control 6 12-13 when word 3 bit [3:2]=01, these bits can control the cs#, ior#, iow# and int pins polarity. bit0: cs# pin is active low when set (default active low) bit1: ior# pin is active low when set (default: active low) bit2: iow# pin is active low when set (default: active low) bit3: int pin is active low when set (default: active high) bit4: int pin is open-collected (default: force output) bit 15:5: reserved wake-up mode control 7 14-15 bit0: the wake pin is active low when set (default: active high) bit1: the wake pin is in pulse mode when set (default: level mode) bit2: magic wakeup event is enabled when set. (default: disable) bit3: link change wakeup event is enabled when set (default disable) bit6:4: reserved bit7: led mode 1 (default: mode 0) bit8: internal phy is enabled after power-on (default: disable) bit11:9: reserved bit13:12:00 or 11 for normal led function bit13:12: 01 (reserved for test only) bit13:12: 10 led2 act as wake in 16-bit mode bit14: 1: hp auto-mdix on, 0: hp auto-mdix off(default on) bit 15: 0: led1 normal function 1: reserved for test only
dm9000b ethernet controller with general processor interface final 34 version: dm9000b-13-ds-f03 march 5, 2012 8. phy register description add name 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 reset loop back speed select auto-n enable power down isolate restart auto-n full duplex coll. test reserved 00 contr ol 0 0 1 1 0 0 0 1 0 000_0000 t4 cap. tx fdx cap. tx hdx cap. 10 fdx cap. 10 hdx cap. reserved pream. supr. auto-n compl. remote fault auto-n cap. link status jabber detect extd cap. 01 status 0 1 1 1 1 0000 1 0 0 1 0 0 1 02 phyid1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 phyid2 1 0 1 1 1 0 model no. version no. 03 001011 0000 04 auto-neg. advertise next page flp rcv ack remote fault reserved fc adv t4 adv tx fdx adv tx hdx adv 10 fdx adv 10 hdx adv advertised protocol selector field 05 link part. ability lp next page lp ack lp rf reserved lp fc lp t4 lp tx fdx lp tx hdx lp 10 fdx lp 10 hdx link partner protocol selector field 06 auto-neg. expansio n reserved pardet fault lp next pg able next pg able new pg rcv lp auton cap. 16 specifie d config. bp 4b5b bp scr bp align bp_adp ok reserve dr tx reserve d reserve d force 100lnk reserve d reserve d rpdctr -en reset st. mch pream. supr. sleep mode remote loopout 17 specifie d conf/stat 100 fdx 100 hdx 10 fdx 10 hdx reserve d reverse d reverse d phy addr [4:0] auto-n. monitor bit [3:0] 18 10t conf/stat rsvd lp enable hbe enable sque enable jab enable reserve d reserved polarity reverse 19 pwdor reserved pd10drv pd100l pdchip pdcrm pdaeq pddrv pdecli pdeclo pd10 20 specified config tstse1 tstse2 force_ txsd force_ fef pream blex tx10m nway_ pwr reserve d mdix_c ntl autoneg _llpbk mdix_fix value mdix_do wn monsel1 monsel0 reserve d pd_valu e 27 dsp dsp control 29 pscr reserved pream blex amplit ude tx_pw r reserved key to default in the register description that follows, the default column takes the form: , / where : 1 bit set to logic one 0 bit set to logic zero x no default value : ro = read only rw = read/write : sc = self clearing p = value permanently set ll = latching low lh = latching high
dm9000b ethernet controller with general processor interface final 35 version: dm9000b-13-ds-f03 march 5, 2012 8.1 basic mode control register (bmcr) - 00 bit bit name default description 0.15 reset 0, rw/sc reset 1=software reset 0=normal operation this bit sets the status and controls the phy registers to their default states. this bit, which is self-clearing, will keep returning a value of one until the reset process is completed 0.14 loop-back 0, rw loop-back loop-back control register 1 = loop-back enabled 0 = normal operation when in 100mbps operation mode, setting this bit may cause the descrambler to lose synchronization and produce a 720ms "dead time" before receive 0.13 speed selection 1, rw speed select 1 = 100mbps 0 = 10mbps link speed may be selected either by this bit or by auto-negotiation. when auto-negotiation is enabled and bit 12 is set, this bit will return auto-negotiation selected medium type 0.12 auto-negotiation enable 1, rw auto-negotiation enable 1 = auto-negotiation is enabled, bit 8 and 13 will be in auto-negotiation status 2 = disable 0.11 power down 0, rw power down while in the power-down state, the phy should respond to management transactions. 1=power down 0=normal operation 0.10 isolate 0,rw isolate force to 0 in application. 0.9 restart auto-negotiation 0,rw/sc restart auto-negotiation 1 = restart auto-negotiation. re-initiates the auto-negotiation process. when auto-negotiation is disabled (bit 12 of this register cleared), this bit has no function and it should be cleared. this bit is self-clearing and it will keep returning to a value of 1 until auto-negotiation is initiated by the dm9000b. the operation of the auto-negotiation process will not be affected by the management entity that clears this bit 0 = normal operation 0.8 duplex mode 1,rw duplex mode 1 = full duplex operation. duplex selection is allowed when auto-negotiation is disabled (bit 12 of this register is cleared). with auto-negotiation enabled, this bit reflects the duplex capability selected by auto-negotiation 0 = normal operation 0.7 collision test 0,rw collision test 1 = collision test enabled. when set, this bit will cause the collision asserted during the transmit period. 0 = normal operation 0.6-0.0 reserved 0,ro reserved
dm9000b ethernet controller with general processor interface final 36 version: dm9000b-13-ds-f03 march 5, 2012 read as 0, ignore on write 8.2 basic mode status register (bmsr) - 01 bit bit name default description 1.15 100base-t4 0,ro/p 100base-t4 capable 1 = dm9000b is able to perform in 100base-t4 mode 0 = dm9000b is not able to perform in 100base-t4 mode 1.14 100base-tx full-duplex 1,ro/p 100base-tx full duplex capable 1 = dm9000b is able to perform 100base-tx in full duplex mode 0 = dm9000b is not able to perform 100base-tx in full duplex mode 1.13 100base-tx half-duplex 1,ro/p 100base-tx half duplex capable 1 = dm9000b is able to perform 100base-tx in half duplex mode 0 = dm9000b is not able to perform 100base-tx in half duplex mode 1.12 10base-t full-duplex 1,ro/p 10base-t full duplex capable 1 = dm9000b is able to perform 10base-t in full duplex mode 0 = dm9000b is not able to perform 10base-tx in full duplex mode 1.11 10base-t half-duplex 1,ro/p 10base-t half duplex capable 1 = dm9000b is able to perform 10base-t in half duplex mode 0 = dm9000b is not able to perform 10base-t in half duplex mode 1.10-1.7 reserved 0,ro reserved read as 0, ignore on write 1.6 mf preamble suppression 1,ro frame preamble suppression 1 = phy will accept management fr ames with preamble suppressed 0 = phy will not accept management frames with preamble suppressed 1.5 auto-negotiation complete 0,ro auto-negotiation complete 1 = auto-negotiation process completed 0 = auto-negotiation process not completed 1.4 remote fault 0, ro/lh remote fault 1 = remote fault condition detected (cleared on read or by a chip reset). fault criteria and detection method is dm9000b implementation specific. this bit will set after the rf bit in the anlpar (bit 13, register address 05) is set 0 = no remote fault condition detected 1.3 auto-negotiation ability 1,ro/p auto configuration ability 1 = dm9000b is able to perform auto-negotiation 0 = dm9000b is not able to perform auto-negotiation 1.2 link status 0,ro/ll link status 1 = valid link is established (for either 10mbps or 100mbps operation) 0 = link is not established the link status bit is implemented with a latching function, so that the occurrence of a link failure condition causes the link status bit to be cleared and remain cleared until it is read via the management interface
dm9000b ethernet controller with general processor interface final 37 version: dm9000b-13-ds-f03 march 5, 2012 1.1 jabber detect 0, ro/lh jabber detect 1 = jabber condition detected 0 = no jabber this bit is implemented with a latching function. jabber conditions will set this bit unless it is cleared by a read to this register through a management interface or a dm9000b reset. this bit works only in 10mbps mode 1.0 extended capability 1,ro/p extended capability 1 = extended register capable 0 = basic register capable only 8.3 phy id identifier register #1 (phyid1) - 02 the phy identifier registers #1 and #2 work together in a single identifier of the dm9000b. the identifier consists of a concatenation of the organizationally unique identifier (oui), a vendor's model number, and a model revision number. davicom semiconductor's ieee assigned oui is 00606e. bit bit name default description 2.15-2.0 oui_msb <0181h> oui most significant bits this register stores bit 3 to 18 of the oui (00606e) to bit 15 to 0 of this register respectively. the most significant two bits of the oui are ignored (the ieee standard refers to these as bit 1 and 2) 8.4 phy id identifier register #2 (phyid2) - 03 bit bit name default description 3.15-3.10 oui_lsb <101110>, ro/p oui least significant bits bit 19 to 24 of the oui (00606e) are mapped to bit 15 to 10 of this register respectively 3.9-3.4 vndr_mdl <001011>, ro/p vendor model number five bits of vendor model number mapped to bit 9 to 4 (most significant bit to bit 9) 3.3-3.0 mdl_rev <0000>, ro/p model revision number five bits of vendor model revision number mapped to bit 3 to 0 (most significant bit to bit 4)
dm9000b ethernet controller with general processor interface final 38 version: dm9000b-13-ds-f03 march 5, 2012 8.5 auto-negotiation advertisement register (anar) - 04 this register contains the advertised abilities of this dm9 000b device as they will be transmitted to its link partner during auto-negotiation. bit bit name default description 4.15 np 0,ro/p next page indication 1 = next page available 0 = no next page available the dm9000b has no next page, so this bit is permanently set to 0 4.14 ack 0,ro acknowledge 1 = link partner ability data reception acknowledged 0 = not acknowledged the dm9000b's auto-negotiation st ate machine will automatically control this bit in the outgoing flp bursts and set it at the appropriate time during the auto-negotiation process. software should not attempt to write to this bit. 4.13 rf 0, rw remote fault 1 = local device senses a fault condition 0 = no fault detected 4.12 -4.11 reserved x, rw reserved write as 0, ignore on read 4.10 fcs 0, rw flow control support 1 = controller chip supports flow control ability 0 = controller chip doesn?t support flow control ability 4.9 t4 0, ro/p 100base-t4 support 1 = 100base-t4 is supported by the local device 0 = 100base-t4 is not supported the dm9000b does not support 100base-t4 so this bit is permanently set to 0 4.8 tx_fdx 1, rw 100base-tx full duplex support 1 = 100base-tx full duplex is supported by the local device 0 = 100base-tx full duplex is not supported 4.7 tx_hdx 1, rw 100base-tx support 1 = 100base-tx half duplex is supported by the local device 0 = 100base-tx half duplex is not supported 4.6 10_fdx 1, rw 10base-t full duplex support 1 = 10base-t full duplex is supported by the local device 0 = 10base-t full duplex is not supported 4.5 10_hdx 1, rw 10base-t support 1 = 10base-t half duplex is supported by the local device 0 = 10base-t half duplex is not supported 4.4-4.0 selector <00001>, rw protocol selection bits these bits contain the binary encoded protocol selector supported by this node <00001> indicates that this device supports ieee 802.3 csma/cd
dm9000b ethernet controller with general processor interface final 39 version: dm9000b-13-ds-f03 march 5, 2012 8.6 auto-negotiation link partner ability register (anlpar) ? 05 this register contains the advertised abilities of th e link partner when receiv ed during auto-negotiation. bit bit name default description 5.15 np 0, ro next page indication 1 = link partner, next page available 0 = link partner, no next page available 5.14 ack 0, ro acknowledge 1 = link partner ability data reception acknowledged 0 = not acknowledged the dm9000b's auto-negotiation st ate machine will automatically control this bit from the incoming flp bursts. software should not attempt to write to this bit 5.13 rf 0, ro remote fault 1 = remote fault indicated by link partner 0 = no remote fault indicated by link partner 5.12 -5.11 reserved 0, ro reserved read as 0, ignore on write 5.10 fcs 0, ro flow control support 1 = controller chip supports flow control ability by link partner 0 = controller chip doesn?t support flow control ability by link partner 5.9 t4 0, ro 100base-t4 support 1 = 100base-t4 is supported by the link partner 0 = 100base-t4 is not supported by the link partner 5.8 tx_fdx 0, ro 100base-tx full duplex support 1 = 100base-tx full duplex is supported by the link partner 0 = 100base-tx full duplex is not supported by the link partner 5.7 tx_hdx 0, ro 100base-tx support 1 = 100base-tx half duplex is supported by the link partner 0 = 100base-tx half duplex is not supported by the link partner 5.6 10_fdx 0, ro 10base-t full duplex support 1 = 10base-t full duplex is supported by the link partner 0 = 10base-t full duplex is not supported by the link partner 5.5 10_hdx 0, ro 10base-t support 1 = 10base-t half duplex is supported by the link partner 0 = 10base-t half duplex is not supported by the link partner 5.4-5.0 selector <00000>, ro protocol selection bits link partner?s binary encoded protocol selector 8.7 auto-negotiation expansion register (aner)- 06 bit bit name default description 6.15-6.5 reserved 0, ro reserved read as 0, ignore on write 6.4 pdf 0, ro/lh local device parallel detection fault pdf = 1: a fault detected via parallel detection function. pdf = 0: no fault detected via parallel detection function 6.3 lp_np_able 0, ro link partner next page able lp_np_able = 1: link partner, next page available lp_np_able = 0: link partner, no next page
dm9000b ethernet controller with general processor interface final 40 version: dm9000b-13-ds-f03 march 5, 2012 6.2 np_able 0,ro/p local device next page able np_able = 1: dm9000b, next page available np_able = 0: dm9000b, no next page dm9000b does not support this function, so this bit is always 0 6.1 page_rx 0, ro/lh new page received a new link code word page received. this bit will be automatically cleared when the register (register 6) is read by management 1 = enable 2 = disable 6.0 lp_an_able 0, ro link partner auto-negotiation able 1 = a ?1? in this bit indicates that the link partner supports auto-negotiation 2 = disable 8.8 davicom specified configuration register (dscr) - 16 bit bit name default description 16.15 bp_4b5b 0,rw bypass 4b5b encoding and 5b4b decoding 1 = 4b5b encoder and 5b4b decoder function bypassed 0 = normal 4b5b and 5b4b operation 16.14 bp_scr 0, rw bypass scrambler/descrambler function 1 = scrambler and descrambler function bypassed 0 = normal scrambler and descrambler operation 16.13 bp_align 0, rw bypass symbol alignment function 1 = receive functions (descrambler, symbol alignment and symbol decoding functions) bypassed. transmit functions (symbol encoder and scrambler) bypassed 0 = normal operation 16.12 bp_adpok 0, rw bypass adpok force signal detector (sd) active. this register is for debug only, not release to customer 1=forced sd is ok, 0=normal operation 16.11 reserved 0, rw reserved force to 0 in application. 16.10 tx/fx 1, rw 100base-tx/fx mode control 1 = 100base-tx operation 0 = 100base-fx operation 16.9 reserved 0, ro reserved 16.8 reserved 0, rw reserved force to 0 in application. 16.7 f_link_100 0, rw force good link in 100mbps 1 = force 100mbps good link status 0 = normal 100mbps operation this bit is useful for diagnostic purposes 16.6 spled_ctl 0, rw reserved force to 0 in application. 16.5 colled_ctl 0, rw reserved force to 0 in application. 16.4 rpdctr-en 1, rw reduced power down control enable this bit is used to enable automatic reduced power down
dm9000b ethernet controller with general processor interface final 41 version: dm9000b-13-ds-f03 march 5, 2012 1 = enable automatic reduced power down 0 = disable automatic reduced power down 16.3 smrst 0, rw reset state machine when writes 1 to this bit, all state machines of phy will be reset. this bit is self-clear after reset is completed 1 = enable 2 = disable 16.2 mfpsc 1, rw mf preamble suppression control frame preamble suppression control bit 1 = mf preamble suppression bit on 0 = mf preamble suppression bit off 16.1 sleep 0, rw sleep mode writing a 1 to this bit will cause phy entering the sleep mode and power down all circuit except oscillator and clock generator circuit. when waking up from sleep mode (write this bit to 0), the configuration will go back to the state before sleep; but the state machine will be reset 16.0 rlout 0, rw remote loop out control 1 = when this bit is set to 1, the received data will loop out to the transmit channel. this is useful for bit error rate testing 2 = disable 8.9 davicom specified configuration and status register (dscsr) - 17 bit bit name default description 17.15 100fdx 1, ro 100m full duplex operation mode after auto-negotiation is completed, result s will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100m full duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode 17.14 100hdx 1, ro 100m half duplex operation mode after auto-negotiation is completed, result s will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100m half duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode 17.13 10fdx 1, ro 10m full duplex operation mode after auto-negotiation is completed, result s will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10m full duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode 17.12 10hdx 1, ro 10m half duplex operation mode
dm9000b ethernet controller with general processor interface final 42 version: dm9000b-13-ds-f03 march 5, 2012 after auto-negotiation is co mpleted, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10m half duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode 17.11 -17.9 reserved 0, ro reserved read as 0, ignore on write 17.8 -17.4 phyadr[4 :0] (phyadr), rw phy address bit 4:0 the first phy address bit transmitted or received is the msb of the address (bit 4). a station management entity connected to multiple phy entities must know the appropriate address of each phy auto-negotiation monitor bits these bits are for debug only. the auto-negotiation status will be written to these bits. b3 b2 b1 b0 0000in idle state 0001ab ility match 0010acknowledge match 0011acknowledge match fail 0100consistency match 0101consistency match fail 0110parallel detects signal_link_r eady 0111parallel detects signal_link_r eady fail 1000auto- negotiation completed successfully 17.3 -17.0 anmb[3:0] 0, ro 8.10 10base-t configuration/status (10btcsr) - 18 bit bit name default description 18.15 reserved 0, ro reserved read as 0, ignore on write 18.14 lp_en 1, rw link pulse enable 1 = transmission of link pulses enabled 0 = link pulses disabled, good link condition forced this bit is valid only in 10mbps operation 18.13 hbe 1,rw heartbeat enable 1 = heartbeat function enabled 0 = heartbeat function disabled when the dm9000b is configured for full duplex operation, this bit will be ignored (the collision/heartbeat function is invalid in full duplex mode), this bit is valid on ly in 10mbps operation. 18.12 squelch 1, rw squelch enable 1 = normal squelch 0 = low squelch 18.11 jaben 1, rw jabber enable enables or disables the jabber function when the dm9000b is in 10base-t full duplex or 10base-t transceiver loop-back mode 1 = jabber function enabled 0 = jabber function disabled 18.10 reserved 0, rw reserved force to 0, in application.
dm9000b ethernet controller with general processor interface final 43 version: dm9000b-13-ds-f03 march 5, 2012 18.9 -18.1 reserved 0, ro reserved read as 0, ignore on write 18.0 polr 0, ro polarity reversed when this bit is set to 1, it indicates that the 10mbps cable polarity is reversed. this bit is automatically set and cleared by 10base-t module 8.11 power down control register (pwdor) - 19 bit bit name default description 19.15 -19.9 reserved 0, ro reserved read as 0, ignore on write 19.8 pd10drv 0, rw vendor power down control test 19.7 pd100dl 0, rw vendor power down control test 19.6 pdchip 0, rw vendor power down control test 19.5 pdcom 0, rw vendor power down control test 19.4 pdaeq 0, rw vendor power down control test 19.3 pddrv 0, rw vendor power down control test 19.2 pdedi 0, rw vendor power down control test 19.1 pdedo 0, rw vendor power down control test 19.0 pd10 0, rw vendor power down control test * when selected, the power down value is control by register 20.0 8.12 (specified config) register ? 20 bit bit name default description 20.15 tstse1 0,rw vendor test select control 20.14 tstse2 0,rw vendor test select control 20.13 force_txsd 0,rw force signal detect 1: force sd signal ok in 100m 0: normal sd signal. 20.12 force_fef 0,rw vendor test select control 20.11 preamblex 0,rw preamble saving control 0: when bit 10 is set, the 10base-t transmit preamble count is reduced. when bit 11 of register 1dh is set, 12-bit preamble is reduced; otherwise 22-bit preamble is reduced. 1: transmit preamble bit count is normal in 10base-t mode 20.10 tx10m_pwr 0,rw 10base-t mode transmit power saving control 1: enable transmit power saving in 10base-t mode 0: disable transmit power saving in 10base-t mode 20.9 nway_pwr 0,rw auto-negotiation power saving control 1: disable power saving during auto-negotiation period 0: enable power saving during auto-negotiation period 20.8 reserved 0, ro reserved read as 0, ignore on write 20.7 mdix_cntl mdi/mdix,ro the polarity of mdi/mdix value 1: mdix mode 0: mdi mode
dm9000b ethernet controller with general processor interface final 44 version: dm9000b-13-ds-f03 march 5, 2012 20.6 autoneg_lpbk 0,rw auto-negotiation loop-back 1: test internal digital auto-negotiation loop-back 0: normal. 20.5 mdix_fix value 0, rw mdix_cntl force value: when mdix_down = 1, mdix_cntl value depend on the register value. 20.4 mdix_down 0,rw hp auto-mdix down manual force mdi/mdix. 1: disable hp auto-mdix , mdix_cntl value depend on 20.5 0: enable hp auto-mdix 20.3 monsel1 0,rw vendor monitor select 20.2 monsel0 0,rw vendor monitor select 20.1 reserved 0,rw reserved force to 0, in application. 20.0 pd_value 0,rw power down control value decision the value of each field register 19. 1: power down 0: normal 8.13 dsp control register (pscr) ? 27 bit bit name default description 27.15-0 dsp 0,rw dsp control (for internal testing only) 8.14 power saving control register (pscr) ? 29 bit bit name default description 29.15-12 reserved 0,ro reserved 29.11 preamblex 0,rw preamble saving control when both bit 10and 11 of register 14h are set, the 10base-t transmit preamble count is reduced. 1: 12-bit preamble is reduced. 0: 22-bit preamble is reduced. 29.10 amplitude 0,rw transmit amplitude control disabled 1: when cable is unconnected with link partner, the tx amplitude is reduced for power saving. 0: disable transmit amplitude reduce function 29.9 tx_pwr 0.rw transmit power saving control disabled 1: when cable is unconnected with link partner, the driving current of transmit is reduced for power saving. 0: disable transmit driving power saving function 29.8-0 reserved 0,ro reserved
dm9000b ethernet controller with general processor interface final 45 version: dm9000b-13-ds-f03 march 5, 2012 9. functional description 9.1 host interface the host interface is a general processor local bus that using chip select (pin cs#) to access dm9000b. pin cs# is default low active which can be re-defined by eeprom setting. there are only two addressing ports through the access of the host interface. one port is the index port and the other is the data port. the index port is decoded by the pin cmd =0 and the data port by the pin cmd =1. the contents of the index port are the register address of the data port. before the access of any register, the address of the register must be saved in the index port. 9.2 direct memory access control the dm9000b provides dma capability to simplify the access of the internal memory. after the programming of the starting address of the internal memory and then issuing a dummy read/write command to load the current data to internal data buffer, the desired location of the internal memory can be accessed by the read/write command registers. the memory?s address will be increased with the size that equals to the current operation mode (i.e. the 8-bit or 16-bit mode) and the data of the next location will be loaded into internal data buffer automatically. it is noted that the data of the first access (the dummy read/write command) in a sequential burst should be ignored because that the data was the contents of the last read/write command. the internal memory size is 16k bytes. the first location of 3k bytes is used for the data buffer of the packet transmission. the other 13k bytes are used for the buffer of the receiving packets. so in the write memory operation, when the bit 7 of imr is set, the memory address increment will wrap to location 0 if the end of address (i.e. 3k) is reached. in a similar way, in the read memory operation, when the bit 7 of imr is set, the memory address increment will wrap to location 0x0c00 if the end of address (i.e. 16k) is reached. 9.3 packet transmission there are two packets, sequentially named as index i and index ii, can be stored in the tx sram at the same time. the index register 02h controls the insertion of crc and pads. their statuses are recorded at index registers 03h and 04h respectively. the start address of transmission is 00h and the current packet is index i after software or hardware reset. firstly write data to the tx sram using the dma port and then write the byte count to byte_ count register at index register 0fch and 0fdh. set the bit 1 of control register. the dm9000b starts to transmit the index i packet. before the transmission of the index i packet ends, the data of the next (index ii) packet can be moved to tx sram. after the index i packet ends the transmission, write the byte count data of the index ii to byte_count register and then set the bit 1 of control register to transmit the index ii packet. the following packets, named index i, ii, i, ii,?, use the same way to be transmitted. 9.4 packet reception the rx sram is a ring data structure. the start address of rx sram is 0c00h after software or hardware reset. each packet has a 4-byte header followed with the data of the reception packet which crc field is included. the format of the 4-byte header is 01h, status, byte_count low, and byte_count high. it is noted that the start address of each packet is in the proper address boundary which depends on the operation mode (the 8-bit or 16-bit ).
dm9000b ethernet controller with general processor interface final 46 version: dm9000b-13-ds-f03 march 5, 2012 9.5 100base-tx operation the transmitter section contains the following functional blocks: - 4b5b encoder - scrambler - parallel to serial converter - nrz to nrzi converter - nrzi to mlt-3 - mlt-3 driver 9.5.1 4b5b encoder the 4b5b encoder converts 4-bit (4b) nibble data generated by the mac reconciliation layer into a 5-bit (5b) code group for transmission, see reference table 1. this conversion is required for control and packet data to be combined in code groups. the 4b5b encoder substitutes the first 8 bits of the mac preamble with a j/k code-group pair (11000 10001) upon transmit. the 4b5b encoder continues to replace subsequent 4b preamble and data nibbles with corresponding 5b code-groups. at the end of the transmit packet, upon the deassertion of the transmit enable signal from the mac reconciliation layer, the 4b5b encoder injects the t/r code-group pair (01101 00111) indicating the end of frame. after the t/r code-group pair, the 4b5b encoder continuously injects idles into the transmit data stream until transmit enable is asserted and the next transmit packet is detected. the dm9000b includes a bypass 4b5b conversion option within the 100base-tx transmitter for support of applications like 100 mbps repeaters which do not require 4b5b conversion. 9.5.2 scrambler the scrambler is required to control the radiated emissions (emi) by spreading the transmit energy across the frequency spectrum at the media connector and on the twisted pair cable in 100base-tx operation. by scrambling the data, the total energy presented to the cable is randomly distributed over a wide frequency range. without the scrambler, energy levels on the cable could peak beyond fcc limitations at frequencies related to the repeated 5b sequences, like the continuous transmission of idle symbols. the scrambler output is combined with the nrz 5b data from the code-group encoder via an xor logic function. the result is a scrambled data stream with sufficient randomization to decrease radiated emissions at critical frequencies. 9.5.3 parallel to serial converter the parallel to serial conver ter receives parallel 5b scrambled data from the scrambler, and serializes it (converts it from a parallel to a serial data stream). the serialized data stream is then presented to the nrz to nrzi encoder block 9.5.4 nrz to nrzi encoder after the transmit data stream has been scrambled and serialized, the data must be nrzi encoded for compatibility with the tp-p md standard, for 100base -tx transmission over category-5 unshielded twisted pair cable. 9.5.5 mlt-3 converter the mlt-3 conversion is accomplished by converting the data stream output, from the nrzi encoder into two binary data streams, with alternately phased logic one event. 9.5.6 mlt-3 driver the two binary data streams created at the mlt-3 converter are fed to the twisted pair output driver, which converts these streams to current sources and alternately drives either side of the transmit transformer?s primary winding, resulting in a minimal current mlt-3 signal.
dm9000b ethernet controller with general processor interface final 47 version: dm9000b-13-ds-f03 march 5, 2012 9.5.7 4b5b code group symbol meaning 4b code 3210 5b code 43210 0 data 0 0000 11110 1 data 1 0001 01001 2 data 2 0010 10100 3 data 3 0011 10101 4 data 4 0100 01010 5 data 5 0101 01011 6 data 6 0110 01110 7 data 7 0111 01111 8 data 8 1000 10010 9 data 9 1001 10011 a data a 1010 10110 b data b 1011 10111 c data c 1100 11010 d data d 1101 11011 e data e 1110 11100 f data f 1111 11101 i idle undefined 11111 j sfd (1) 0101 11000 k sfd (2) 0101 10001 t esd (1) undefined 01101 r esd (2) undefined 00111 h error undefined 00100 v invalid undefined 00000 v invalid undefined 00001 v invalid undefined 00010 v invalid undefined 00011 v invalid undefined 00101 v invalid undefined 00110 v invalid undefined 01000 v invalid undefined 01100 v invalid undefined 10000 v invalid undefined 11001 table 1
dm9000b ethernet controller with general processor interface final 48 version: dm9000b-13-ds-f03 march 5, 2012 9.6 100base-tx receiver the 100base-tx receiver contains several function blocks that convert the scrambled 125mb/s serial data to synchronous 4-bit nibble data. the receive section contains the following functional blocks: - signal detect - digital adaptive equalization - mlt-3 to binary decoder - clock recovery module - nrzi to nrz decoder - serial to parallel - descrambler - code group alignment - 4b5b decoder 9.6.1 signal detect the signal detects function meets the specifications mandated by the ansi xt12 tp-pmd 100base-tx standards for both voltage thresholds and timing parameters. 9.6.2 adaptive equalization when transmitting data over copper twisted pair cable at high speed, attenuation based on frequency becomes a concern. in high speed twisted pair signaling, the frequency content of the transmitted signal can vary greatly during normal operation based on the randomness of the scrambled data stream. this variation in signal attenuation, caused by frequency variations, must be compensated for to ensure the integrity of the received data. in order to ensure quality transmission when employing mlt-3 encoding, the compensation must be able to adapt to various cable lengths and cable types depending on the installed environment. the selection of long cable lengths for a given implementation requires significant compensation, which will be over-killed in a situation that includes shorter, less attenuating cable lengths. conversely, the selection of short or intermediate cable lengths requiring less compensation will cause serious under-compensation for longer length cables. therefore, the compensation or equalization must be adaptive to ensure proper conditioning of the received signal independent of the cable length. 9.6.3 mlt-3 to nrzi decoder the dm9000b decodes the mlt-3 information from the digital adaptive equalizer into nrzi data. 9.6.4 clock recovery module the clock recovery module accepts nrzi data from the mlt-3 to nrzi decoder. the clock recovery module locks onto the data stream and extracts the 125 mhz reference clock. the extracted and synchronized clock and data are presented to the nrzi to nrz decoder. 9.6.5 nrzi to nrz the transmit data stream is required to be nrzi encoded for compatibility wi th the tp-pmd standard for 100base-tx transmission over category-5 unshielded twisted pair cable. this conversion process must be reversed on the receive end. the nrzi to nrz decoder, receives the nrzi data stream from the clock recovery module and converts it to a nrz data stream to be presented to the serial to parallel conversion block. 9.6.6 serial to parallel the serial to parallel converter receives a serial data stream from the nrzi to nrz converter. it converts the data stream to parallel data to be presented to the descrambler. 9.6.7 descrambler because of the scrambling process requires to control the radiated emissions of transmit data streams, the receiver must descramble the receive data streams. the descrambler receives scrambled parallel data streams from the serial to parallel converter, and it descrambles the data streams, and presents the data streams to the code group alignment block.
dm9000b ethernet controller with general processor interface final 49 version: dm9000b-13-ds-f03 march 5, 2012 9.6.8 code group alignment the code group alignment block receives un-aligned 5b data from the descrambler and converts it into 5b code group data. code group alignment occurs after the j/k is detected, and subsequent data is aligned on a fixed boundary. 9.6.9 4b5b decoder the 4b5b decoder functions as a look-up table that translates incoming 5b code groups into 4b (nibble) data. when receiving a frame, the first 2 5-bit code groups receive the start-of-frame delimiter (j/k symbols). the j/k symbol pair is stripped and two nibbles of preamble pattern are substituted. the last two code groups are the end-of-frame delimiter (t/r symbols). the t/r symbol pair is also stripped from the nibble, presented to the reconciliation layer. 9.7 10base-t operation the 10base-t transceiver is ieee 802.3u compliant. when the dm9000b is operating in 10base-t mode, the coding scheme is manchester. data processed for transmit is presented in nibble format, converted to a serial bit stream, then the manchester encoded. when receiving, the bit stream, encoded by the manchester, is decoded and converted into nibble format. 9.8 collision detection for half-duplex operation, a collision is detected when the transmit and receive channels are active simultaneously. collision detection is disabled in full duplex operation. 9.9 carrier sense carrier sense (crs) is asserted in half-duplex operation during transmission or reception of data. during full-duplex mode, crs is asserted only during receive operations. 9.10 auto-negotiation the objective of auto-negotiation is to provide a means to exchange information between linked devices and to automatically configure both devices to take maximum advantage of their abilities. it is important to note that auto-negotiation does not test the characteristics of the linked segment. the auto-negotiation function provides a means for a device to advertise supported modes of operation to a remote link partner, acknowledge the receipt and understanding of common modes of operation, and to reject un-shared modes of operation. this allows devices on both ends of a segment to establish a link at the best common mode of operation. if more than one common mode exists between the two devices, a mechanism is provided to allow the devices to resolve to a single mode of operation using a predetermined priority resolution function. auto-negotiation also provides a parallel detection function for devices that do not support the auto-negotiation feature. during parallel detection there is no exchange of information of configuration. instead, the receive signal is examined. if it is discovered that the signal matches a technology, which the receiving device supports, a connection will be automatically established using that technology. this allows devices not to support auto-negotiation but support a common mode of operation to establish a link.
dm9000b ethernet controller with general processor interface final 50 version: dm9000b-13-ds-f03 march 5, 2012 9.11 power reduced mode the signal detect circuit is always turned to monitor whether there is any signal on the media (cable disconnected). the dm9000b automatically turns off the power and enters the power reduced mode, whether its operation mode is n-way or force mode. when enters the power reduced mode, the transmit circuit still sends out fast link pules with minimum power consumption. if a valid signal is detected from the media, which might be n-ways fast link pules, 10base-t normal link pulse, or 100base-tx mlt3 signals, the device will wake up and resume a normal operation mode. that can be writing zero to phy reg. 16.4 to disable power reduced mode. 9.11.1 power down mode the phy reg.0.11 can be set high to enter the power down mode, which disables all transmit and receive functions, except the access of phy registers. 9.11.2 reduced transmit power mode the additional transmit power reduction can be gained by designing with 1.25:1 turns ration magnetic on its tx side and using a 8.5k ? resistor on bgres and agnd pins, and the txo+/txo- pulled high resistors should be changed from 50 ? to 78 ? . this configuration could be reduced about 20% transmit power.
dm9000b ethernet controller with general processor interface final 51 version: dm9000b-13-ds-f03 march 5, 2012 10. dc and ac electrical characteristics 10.1 absolute maximum ratings ( 25 c ) symbol parameter min. max. unit conditions d vdd supply voltage -0.3 3.6 v v in dc input voltage (vin) -0.5 5.5 v v out dc output voltage(vout) -0.3 3.6 v tstg storage temperature range -65 +150 ta ambient temperature 0 +70 lt lead temperature (tl,soldering,10 sec.). +260 dm9000bep 10.1.1 operating conditions symbol parameter min. typ. max. unit conditions d vdd supply voltage 3.135 3.300 3.465 v 100base-tx --- 130 --- ma 3.3v 10base-t tx --- 170 --- ma 3.3v 10base-t tx (100% utilization) --- 160 --- ma 3.3v,power saving 10base-t idle --- 60 --- ma 3.3v,power saving auto-negotiation --- 60 --- ma 3.3v power down mode --- 20 --- ma 3.3v p d (power dissipation) power down mode (system clock off) --- 6 --- ma 3.3v 10.2 dc electrical characteristics (vdd = 3.3v) symbol parameter min. typ. max. unit conditions inputs v il input low voltage - - 0.8 v v ih input high voltage 2.0 - - v i il input low leakage current -1 - - ua vin = 0.0v i ih input high leakage current - - 1 ua vin = 3.3v outputs v ol output low voltage - - 0.4 v iol = 4ma v oh output high voltage 2.4 - - v ioh = -4ma receiver v icm rx+/rx- common mode input voltage - 1.8 - v 100 termination across transmitter v td100 100tx+/- differential output voltage 1.9 2.0 2.1 v peak to peak v td10 10tx+/- differential output voltage 4.4 5 5.6 v peak to peak i td100 100tx+/- differential output current 19 20 21 ma absolute value i td10 10tx+/- differential output current 44 50 56 ma absolute value
dm9000b ethernet controller with general processor interface final 52 version: dm9000b-13-ds-f03 march 5, 2012 10.3 ac electrical characteristics & timing waveforms 10.3.1 tp interface symbol parameter min. typ. max. unit conditions t tr/f 100tx+/- differential rise/fall time 3.0 - 5.0 ns t tm 100tx+/- differential rise/fall time mismatch 0 - 0.5 ns t tdc 100tx+/- differential output duty cycle distortion 0 - 0.5 ns t t/t 100tx+/- differential output peak-to-peak jitter 0 - 1.4 ns x ost 100tx+/- differential voltage overshoot 0 - 5 % 10.3.2 oscillator/crystal timing symbol parameter min. typ. max. unit conditions t ckc osc clock cycle 39.9988 40 40.0012 ns 30ppm t pwh osc pulse width high 16 20 24 ns t pwl osc pulse width low 16 20 24 ns 10.3.3 power on reset timing pwrst# strap pins t2 t1 eecs t3 t4 symbol parameter min. typ. max. unit conditions t1 pwrst# low period 1 - - ms - t2 strap pin hold time with pwrst# 40 - - ns - t3 pwrst# high to eecs high - 11.31 - us t4 pwrst# high to eecs burst end - -- 3 ms note: the dm9000b needs the time about 3ms to down load the setting from eeprom after pwrst# deasserted, during the period, the cs# pin is not recognized even no eeprom present. so, please note that processor only access dm9000b after pwrst# deasserted 3ms.
dm9000b ethernet controller with general processor interface final 53 version: dm9000b-13-ds-f03 march 5, 2012 10.3.4 processor i/o read timing ior# sd cs#,cmd t1 t5 t2 t6 t3 t4 symbol parameter min. typ. max. unit t 1 cs#,cmd valid to ior# valid 0 ns t 2 ior# width 20 ns t 3 system data(sd) delay time 19 ns *1 t 4 ior# invalid to system data(sd) invalid 6 ns *1 t 5 ior# invalid to cs#,cmd invalid 0 ns t 6 ior# invalid to next ior#/iow# valid when read dm9000b register 2 clk *2 t2+t 6 ior# valid to next ior#/iow# valid when read dm9000b memory with f0h register 4 clk *2 t 2 +t 6 ior# valid to next ior#/iow# valid when read dm9000b memory with f2h register 1 clk *2 *note *1 : 19ns for bus driving 2ma, 12ns for 4ma, 10ns for 6ma, 10ns for 8ma. *2 : the default clock period is 20ns
dm9000b ethernet controller with general processor interface final 54 version: dm9000b-13-ds-f03 march 5, 2012 10.3.5 processor i/o write timing iow# sd cs#,cmd t1 t5 t2 t6 t3 t4 symbol parameter min. typ. max. unit t 1 cs#,cmd valid to iow# valid 0 ns t 2 iow# width 10 ns t 3 system data(sd) setup time 10 ns t 4 system data(sd) hold time 3 ns t 5 iow# invalid to cs#,cmd invalid 0 ns t 6 iow# invalid to next iow#/ior# valid when write dm9000b index port 1 clk* t 6 iow# invalid to next iow#/ior# valid when write dm9000b data port 2 clk* t 2 +t 6 iow# valid to next iow#/ior# valid when write dm9000b memory 1 clk* note (the default clk period is 20ns)
dm9000b ethernet controller with general processor interface final 55 version: dm9000b-13-ds-f03 march 5, 2012 10.3.6 eeprom interface timing eecs eeck eedio t2 t3 t1 t4 t5 t6 t7 symbol parameter min. typ. max. unit t 1 eeck frequency 0.375 mhz t 1 eeck frequency, if phyceiver is power-down 0.094 mhz t2 eecs setup time 500 ns t 3 eecs hold time 833 ns t 4 eedio setup time when output 480 ns t5 eedio hold time when output 2200 ns t 6 eedio setup time when input 8 ns t 7 eedio hold time when input 8 ns
dm9000b ethernet controller with general processor interface final 56 version: dm9000b-13-ds-f03 march 5, 2012 11. application notes 11.1 network interface signal routing place the transformer as close as possible to the rj-45 connector. place all the 50 ? resistors as close as possible to the dm9000b rxi and txo pins. traces routed from rxi and txo to the transformer should run in close pairs directly to the transformer. the designer should be careful not to cross the transmit and receive pairs. as always, vias should be avoided as much as possible. the network interface should be void of any signals other than the txo and rxi pairs between the rj-45 to the transformer and the transformer to the dm9000b.. there should be no power or ground planes in the area under the network side of the transformer to include the area under the rj-45 connector. (refer to figure 11-4 and 11-5) keep chassis ground away from all active signals. the rj-45 connector and any unused pins should be tied to chassis ground through a resistor divider network and a 2kv bypass capacitor. the band gap resistor should be placed as physically close as pins 1 and 48 as possible (refer to figure 11-1 and 11-2). the designer should not run any high-speed signal near the band gap resistor placement. 11.2 10base-t/100base-tx auto mdix application figure 11-1 auto mdix application
dm9000b ethernet controller with general processor interface final 57 version: dm9000b-13-ds-f03 march 5, 2012 11.3 10base-t/100base-tx ( non auto mdix transformer application ) figure 11-2 non auto mdix transformer application
dm9000b ethernet controller with general processor interface final 58 version: dm9000b-13-ds-f03 march 5, 2012 11.4 power decoupling capacitors davicom semiconductor recommends placing all the decoupling capacitors for all power supply pins as close as possible to the power pads of the dm9000b (the best placed distance is < 3mm from pin). the recommended decoupling capacitor is 0.1 f or 0.01 f, as required by the design layout. figure 3 figure 11-3 power decoupling capacitors
dm9000b ethernet controller with general processor interface final 59 version: dm9000b-13-ds-f03 march 5, 2012 11.5 ground plane layout davicom semiconductor recommends a single ground plane approach to minimize emi. ground plane partitioning can cause increased emi emissions that could make the network interface card not comply with specific fcc regulations (part 15). figure 11-4 shows a recommended ground layout scheme. figure 4 figure 11-4 ground plane layout
dm9000b ethernet controller with general processor interface final 60 version: dm9000b-13-ds-f03 march 5, 2012 11.6 power plane partitioning the power planes should be approximately illustrated in figure 11-5. figure 11-5 power plane partitioning
dm9000b ethernet controller with general processor interface final 61 version: dm9000b-13-ds-f03 march 5, 2012 11.7 magnetic selection guide refer to table 2 for transformer requirements. transformers, meeting these requirements, are available from a variety of magnetic manufacturers. designers should test and qualify all magnetic before using them in an application. the transformers listed in table 2 are electrical equivalents, but may not be pin-to-pin equivalents. designers should test and qualify all magnetic specific ations before using them in an application. rohs regulations, please contact with your magnetic vendor, this table only for you reference manufacturer part number pulse engineering pe-68515, h1102 ycl ph163112, ph163539 delta lfe8505-dc , lfe8563-dc, lfe8583-dc gts fc-618sm macom hs9016, hs9024 table 2 11.8 crystal selection guide a crystal can be used to generate the 25mhz reference clock instead of an oscillator. the crystal must be a fundamental type, and series-resonant. connects to pins x1 and x2, and shunts each crystal lead to ground with a 22pf capacitor (see figure 11-6). figure 11-6 crystal circuit diagram 43 44 x1 x2 a gnd a gnd 22pf 25mhz 22pf
dm9000b ethernet controller with general processor interface final 62 version: dm9000b-13-ds-f03 march 5, 2012 12. package information lqfp 48l (f.p. 2mm) outline dimensions unit: inches/mm y d1 d symbol dimensions in inches dimensions in mm min. nom. max. min. nom. max. a - - 0.063 - - 1.60 a 1 0.002 - 0.006 0.05 - 0.15 a 2 0.053 0.055 0.057 1.35 1.40 1.45 b 0.007 0.009 0.011 0.17 0.22 0.27 b1 0.007 0.008 0.009 0.17 0.20 0.23 c 0.004 - 0.008 0.09 - 0.20 c1 0.004 - 0.006 0.09 - 0.16 d 0.354bsc 9.00bsc d1 0.276bsc 7.00bsc e 0.354bsc 9.00bsc e1 0.276bsc 7.00bsc 0.020bsc 0.50bsc l 0.018 0.024 0.030 0.45 0.60 0.75 l1 0.039ref 1.00ref y 0.003max 0.08max notes: 1. to be determined at seating plane. 2. dimensions d1 and e 1do not include mold protrusion. d1 and e1 are maximum plastic body size dimensions including mold mismatch. 3. dimensions b does not include dambar protrusion. total in excess of the b dimension at maximum material condition. dambar cannot be located on the lower radius of the foot. 4. exact shape of each corner is optional. 5. these dimensions apply to the flat section of the lead between 0.10mm and 0.25mm from the lead tip. 6. a1 is defined as the distance from the seating plane to the lowest point of the package body. 7. controlling dimension: millimeter. 8. reference documents: jedec ms-026, bbc.
dm9000b ethernet controller with general processor interface final 63 version: dm9000b-13-ds-f03 march 5, 2012 13. ordering information part number pin count package dm9000bep 48 lqfp (pb-free) disclaimer the information appearing in this publication is believed to be accurate. integrated circuits sold by davicom semiconductor are covered by the warranty and patent indemnification provisions stipulated in the terms of sale only. davicom makes no warranty, express, statutory, implied or by description regarding the information in this publication or regarding the information in this publication or regarding the freedom of the described chip(s) from patent infringement. further, davicom makes no warranty of merchantability or fitness for any purpose. davicom reserves the right to halt production or alter the specifications and prices at any time without notice. accordingly, the reader is cautioned to verify that the data sheets and other information in this publication are current before placing orders. products described herein are intended for use in normal commercial applications. applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by davicom for such applications. please note that application circuits illustrated in this document are for reference purposes only. davicom?s terms and conditions printed on the order acknowledgment govern all sales by davicom. davicom will not be bound by any terms inconsistent with these unless davicom agrees otherwise in writing. acceptance of the buyer?s orders shall be based on these terms. company overview davicom semiconductor inc. develops and manufactures integrated circuits for integration into data communication products. our mission is to design and produce ic products that are the industry?s best value for data, audio, video, and internet/intranet applications. to achieve this goal, we have built an organization that is able to develop chipsets in response to the evolving technology requirements of our cust omers while still delivering products that meet their cost requirements. products we offer only products that satisfy high performance requirements and which are compatible with major hardware and software standards. our currently available and soon to be released products are based on our proprietary designs and deliver high quality, high performance chipsets that comply with modem communication standards and ethernet networking standards. contact windows for additional information about davicom products, contact the sales department at: headquarters hsin-chu office: no.6 li-hsin rd. vi, science-based industrial park, hsin-chu city, taiwan, r.o.c. tel: +886-3-5798797 fax: +886-3-5646929 mail: sales@davicom.com.tw http: http://www.davicom.com.tw warning conditions beyond those listed for the absolute maximum may destroy or damage the products. in addition, conditions for sustai ned periods at near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance a nd function.


▲Up To Search▲   

 
Price & Availability of DM9000B12

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X